﻿using System.ComponentModel;


namespace KD.DAS.Component
{
    public class Configer
    {
        /// <summary>
        /// 服务器网络状态
        /// </summary>
        [Description("服务器网络状态")]
        public static bool IsConnect { set; get; }

        /// <summary>
        /// 服务器IP地址
        /// </summary>
        [Description("服务器IP地址")]
        public static string IP { set; get; }

        /// <summary>
        /// 服务器中间件地址
        /// </summary>
        [Description("服务器中间件地址")]
        public static string Url { set; get; }

        /// <summary>
        /// 访问端口
        /// </summary>
        [Description("访问端口")]
        public static int Port { set; get; }

        /// <summary>
        /// 超时配置
        /// </summary>
        [Description("超时配置")]
        public static int TimeOut { set; get; }
        /// <summary>
        /// 查询SQL地址
        /// </summary>
        [Description("查询SQL地址")]
        public static string QuerySql { set; get; }

        /// <summary>
        /// 执行SQL地址
        /// </summary>
        [Description("执行SQL地址")]
        public static string ExecSql { set; get; }

        /// <summary>
        /// 执行存储地址
        /// </summary>
        [Description("执行存储地址")]
        public static string ExecProc { set; get; }

        /// <summary>
        /// 是否调试模式
        /// </summary>
        [Description("是否调试模式")]
        public static bool IsDebug { set; get; }

    }
}
